| Miles Sound System SDK 7.2a |
MacOS has several different ways to specify files (mostly deriving from their long OS history).
On Carbon Mach-O, Miles uses the clean and cross-platform compatible Unix-style slash separators, for example, "redist/macho".
On Classic and Carbon CFM, you can use FSSpec's or string filenames. An FSSpec is a binary representation of a file that most of the old Mac APIs use. On Classic and Carbon CFM, you can also use the original Mac style of string filenames where ":" is used as a separator, ":redist:classic", for example.
If you rebuild the Miles source, you can also make the Mach-O version use FSSpecs, or even the Carbon CFM version to use slashes (which would only work on MacOS X, of course). For modern games, though, you will probably only use the Mach-O version anyway, so the slash style filenames is the way to go.
Next Topic (Memory management under MacOS)
Previous Topic (Distributing Miles with MacOS Applications)
Group:
Overview for MacOS: Miles on Macintosh
Related Functions:
AIL_WAV_file_fss_write, AIL_file_fss_attrib_write, AIL_file_fss_read, AIL_file_fss_size, AIL_file_fss_write, AIL_quick_fss_load, AIL_quick_fss_load_and_play
Related Basic Types:
FSSpec
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.